{$wrapper_prefix|default}

<link rel="stylesheet" href="{$_STATIC_URL}/archive/admin/css/content.detail.css"/>

<section class="hbox stretch">
    <aside class="aside-md bg-white b-r" id="subNav">
        <section class="vbox">
            <header class="b-b header">
                <p class="h4">案件详情</p>
            </header>
            <section class="scrollable w-f">
                <ul class="nav nav-pills nav-stacked no-radius">
                    <li class="b-b m-t-none-reset nav-map {if ! $card_id}active{/if}" id="nav_base">
                        <a href="javascript:;">
                            <i class="fa fa-chevron-right pull-right m-t-xs text-xs icon-muted"></i>
                            <i class="fa fa-fw fa-ellipsis-v"></i>
                            基本信息
                        </a>
                    </li>
                    {foreach from=$cards key=k item=v}
                    <li class="b-b m-t-none-reset nav-map {if $card_id == $v._id}active{/if}" id="nav_card_{$v._id}">
                        <a href="javascript:;">
                            <i class="fa fa-chevron-right pull-right m-t-xs text-xs icon-muted"></i>
                            <i class="fa fa-fw fa-ellipsis-v"></i>
                            行动 - {$v.title}
                        </a>
                    </li>
                    {/foreach}
                </ul>
            </section>
        </section>
    </aside>
    
    <aside class="bg-white b-r">
        <section class="vbox">
            <header class="header b-b b-t bg-white-only">
                <div class="m-t-sm">
                    <a href="#subNav" data-toggle="class:hide" class="btn btn-sm btn-default active btn-nav-archive" btn_nav_archive_index="0">
                        <i class="fa fa-caret-right text fa-lg"></i>
                        <i class="fa fa-caret-left text-active fa-lg"></i>
                    </a>
                    <button type="button" class="btn btn-sm btn-default hide" id="button_cancel">
                        <i class="fa fa-reply"></i> 返回
                    </button>
                    <a href="/archiveadmin/content/edit?_id={$content._id}" class="btn btn-sm btn-orange load-content pull-right">编辑</a>
                </div>
            </header>
            
            <section class="scrollable wrapper w-f">
                <form class="form-horizontal">
                    <section class="panel">
                        
                        <!-- 基本信息 @start -->
                        {include file="archive/admin/template/content.detail.base.html"}
                        <!-- 基本信息 @end -->
                        
                        <!-- 资料卡 @start -->
                        {include file="archive/admin/template/content.detail.card.html"}
                        <!-- 资料卡 @end -->
                        
                    </section>
                </form>
            </section>
            
            <footer class="footer b-t bg-white-only">
                <div class="m-t-sm">
                    <a href="#subNav" data-toggle="class:hide" class="btn btn-sm btn-default active btn-nav-archive" btn_nav_archive_index="1">
                        <i class="fa fa-caret-right text fa-lg"></i>
                        <i class="fa fa-caret-left text-active fa-lg"></i>
                    </a>
                </div>
            </footer>
        </section>
    </aside>
</section>

<!-- jquery-prettyphoto -->
<script src="{$_STATIC_CDN}/scripts/jquery-prettyphoto/3.1.5/js/jquery.prettyPhoto.js" type="text/javascript"></script>
<!-- jquery-prettyphoto @end -->

<script src="{$_STATIC_URL}/archive/admin/js/content.detail.js" type="text/javascript"></script>
<script src="{$_STATIC_URL}/archive/admin/js/content.detail.filesystem.js" type="text/javascript"></script>

{$wrapper_suffix|default}